package com.weishu.core.service.impl;

import com.weishu.core.entity.MTenant;
import com.weishu.core.entity.vo.MTenantVo;
import com.weishu.core.mapper.MTenantMapper;
import com.weishu.core.service.IMTenantService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Service
public class MTenantServiceImpl extends ServiceImpl<MTenantMapper, MTenant> implements IMTenantService {
    @Autowired
    MTenantMapper mTenantMapper;
    @Override
    public List<MTenantVo> tenantList(MTenantVo mTenant) {
        return mTenantMapper.tenantList(mTenant);
    }
}
